home *** CD-ROM | disk | FTP | other *** search
/ IRIX Base Documentation 2001 May / SGI IRIX Base Documentation 2001 May.iso / usr / share / catman / p_man / cat3 / librw / RWCollectableDate.z / RWCollectableDate
Encoding:
Text File  |  1998-10-30  |  5.7 KB  |  133 lines

  1.  
  2.  
  3.  
  4. RRRRWWWWCCCCoooolllllllleeeeccccttttaaaabbbblllleeeeDDDDaaaatttteeee((((3333CCCC++++++++))))                                RRRRWWWWCCCCoooolllllllleeeeccccttttaaaabbbblllleeeeDDDDaaaatttteeee((((3333CCCC++++++++))))
  5.  
  6.  
  7.  
  8. NNNNaaaammmmeeee
  9.      RWCollectableDate - Rogue Wave library class
  10.  
  11. SSSSyyyynnnnooooppppssssiiiissss
  12.               typedef RWCollectableDate Date;  // Smalltalk typedef
  13.  
  14.  
  15.  
  16.               #include <rw/colldate.h>
  17.           RWCollectableDate  d;
  18.  
  19.  
  20.  
  21.  
  22. DDDDeeeessssccccrrrriiiippppttttiiiioooonnnn
  23.      Collectable Dates.  Inherits classes RRRRWWWWDDDDaaaatttteeee and RRRRWWWWCCCCoooolllllllleeeeccccttttaaaabbbblllleeee.  This
  24.      class is useful when dates are used as keys in the "dictionary"
  25.      collection classes, or if dates are stored and retrieved as
  26.      RRRRWWWWCCCCoooolllllllleeeeccccttttaaaabbbblllleeeessss.  The virtual functions of the base class RRRRWWWWCCCCoooolllllllleeeeccccttttaaaabbbblllleeee
  27.      have been redefined.
  28.  
  29. PPPPeeeerrrrssssiiiisssstttteeeennnncccceeee
  30.      Polymorphic
  31.  
  32. PPPPuuuubbbblllliiiicccc CCCCoooonnnnssssttttrrrruuuuccccttttoooorrrrssss
  33.               RWCollectableDate();
  34.           RWCollectableDate(unsigned long julianDate);
  35.           RWCollectableDate(unsigned day, unsigned year);
  36.           RWCollectableDate(unsigned day, unsigned month, unsigned year);
  37.           RWCollectableDate(unsigned day, const char* mon,
  38.                             unsigned year,const RWLocale&
  39.                             locale = RWLocale::global());
  40.           RWCollectableDate(istream& s, const RWLocale& locale =
  41.                             RWLocale::global());
  42.           RWCollectableDate(const RWCString& str,const RWLocale&
  43.                             locale = RWLocale::global());
  44.           RWCollectableDate(const RWTime& t, const RWZone& zone =
  45.                             RWZone::local());
  46.           RWCollectableDate(const struct tm* tmb);
  47.           RWCollectableDate(const RWDate& d);
  48.  
  49.  
  50.      Calls the corresponding constructor of the base class RRRRWWWWDDDDaaaatttteeee.
  51.  
  52. PPPPuuuubbbblllliiiicccc MMMMeeeemmmmbbbbeeeerrrr FFFFuuuunnnnccccttttiiiioooonnnnssss
  53.               virtual RWspace
  54.           bbbbiiiinnnnaaaarrrryyyySSSSttttoooorrrreeeeSSSSiiiizzzzeeee() const;
  55.  
  56.  
  57.      Redefined from class RRRRWWWWCCCCoooolllllllleeeeccccttttaaaabbbblllleeee.
  58.  
  59.  
  60.  
  61.  
  62.  
  63.                                                                         PPPPaaaaggggeeee 1111
  64.  
  65.  
  66.  
  67.  
  68.  
  69.  
  70. RRRRWWWWCCCCoooolllllllleeeeccccttttaaaabbbblllleeeeDDDDaaaatttteeee((((3333CCCC++++++++))))                                RRRRWWWWCCCCoooolllllllleeeeccccttttaaaabbbblllleeeeDDDDaaaatttteeee((((3333CCCC++++++++))))
  71.  
  72.  
  73.  
  74.               virtual int
  75.           ccccoooommmmppppaaaarrrreeeeTTTToooo(const RWCollectable* c) const;
  76.  
  77.  
  78.      Redefined from class RRRRWWWWCCCCoooolllllllleeeeccccttttaaaabbbblllleeee.  Returns the results of calling
  79.      RRRRWWWWDDDDaaaatttteeee::::::::ccccoooommmmppppaaaarrrreeeeTTTToooo.
  80.  
  81.               virtual unsigned
  82.           hhhhaaaasssshhhh() const;
  83.  
  84.  
  85.      Redefined from class RRRRWWWWCCCCoooolllllllleeeeccccttttaaaabbbblllleeee.  Returns the results of calling
  86.      RRRRWWWWDDDDaaaatttteeee::::::::hhhhaaaasssshhhh(((()))).
  87.  
  88.               virtual RWClassID
  89.           iiiissssAAAA() const;
  90.  
  91.  
  92.      Redefined from class RRRRWWWWCCCCoooolllllllleeeeccccttttaaaabbbblllleeee to return ________RRRRWWWWCCCCOOOOLLLLLLLLEEEECCCCTTTTAAAABBBBLLLLEEEEDDDDAAAATTTTEEEE.
  93.  
  94.               virtual RWBoolean
  95.           iiiissssEEEEqqqquuuuaaaallll(const RWCollectable* t) const;
  96.  
  97.  
  98.      Redefined from class RRRRWWWWCCCCoooolllllllleeeeccccttttaaaabbbblllleeee.  Returns the results of calling
  99.      ooooppppeeeerrrraaaattttoooorrrr========(((()))) for the base class RRRRWWWWDDDDaaaatttteeee by using appropriate casts.
  100.  
  101.               virtual void
  102.           rrrreeeessssttttoooorrrreeeeGGGGuuuuttttssss(RWvistream&);
  103.           virtual void
  104.           rrrreeeessssttttoooorrrreeeeGGGGuuuuttttssss(RWFile&);
  105.           virtual void
  106.           ssssaaaavvvveeeeGGGGuuuuttttssss(RWvostream&) const;
  107.           virtual void
  108.           ssssaaaavvvveeeeGGGGuuuuttttssss(RWFile&) const;
  109.  
  110.  
  111.      Redefined from class RRRRWWWWCCCCoooolllllllleeeeccccttttaaaabbbblllleeee.
  112.  
  113.               RWStringID
  114.           ssssttttrrrriiiinnnnggggIIIIDDDD();
  115.  
  116.  
  117.      (acts virtual) Inherited from class RRRRWWWWCCCCoooolllllllleeeeccccttttaaaabbbblllleeee.
  118.  
  119.  
  120.  
  121.  
  122.  
  123.  
  124.  
  125.  
  126.  
  127.  
  128.  
  129.                                                                         PPPPaaaaggggeeee 2222
  130.  
  131.  
  132.  
  133.